package cn.kgc.crowdfundingadmin.service.impl;

import cn.kgc.crowdfundingadmin.mapper.TagMapper;
import cn.kgc.crowdfundingadmin.pojo.Tag;
import cn.kgc.crowdfundingadmin.pojo.TagExample;
import cn.kgc.crowdfundingadmin.service.TagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import java.util.List;
@Scope
@Service("tagService")
public class TagServiceImpl implements TagService {
    @Autowired
    TagMapper tagMapper;

    @Override
    public List<Tag> getAll() {
        return tagMapper.selectByExample(null);
    }

    @Override
    public int countByExample(TagExample example) {
        return 0;
    }

    @Override
    public int deleteByExample(TagExample example) {
        return 0;
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return 0;
    }

    @Override
    public int insert(Tag record) {
        return 0;
    }

    @Override
    public int insertSelective(Tag record) {
        return 0;
    }

    @Override
    public List<Tag> selectByExample(TagExample example) {
        return null;
    }

    @Override
    public Tag selectByPrimaryKey(Integer id) {
        return null;
    }

    @Override
    public int updateByExampleSelective(Tag record, TagExample example) {
        return 0;
    }

    @Override
    public int updateByExample(Tag record, TagExample example) {
        return 0;
    }

    @Override
    public int updateByPrimaryKeySelective(Tag record) {
        return 0;
    }

    @Override
    public int updateByPrimaryKey(Tag record) {
        return 0;
    }
}